<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link href="/resource/css/admin/main.css" type="text/css" rel="stylesheet" />
<link href="/resource/css/admin/right.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="/resource/js/jquery.js"></script>
<script type="text/javascript" src="/resource/js/base.js"></script>
<script type="text/javascript" src="/resource/js/admin/formdatadetail.js"></script>
</head>
<body>
	<div class="position"><span>您的当前位置：</span>业务处理 > 表单处理 > <a href="./?formid=${formdata.form.id}">${formdata.form.name}</a> > 查看详细</div>
    <div class="rightbody m<#if !formdata.formDataAtisfaction??>cho</#if>">
		<div class="rightbodycontent">
			<table cellspacing="1" cellpadding="4" class="tableedit">
				<#list formdata.formDataValues as value>
					<tr>
				        <td>${value.formField.title}：</td>
				        <td>${value.contents!?html}</td>
			        </tr>
				</#list>
			    <tr>
			        <td>提交时间：</td>
			        <td>${formdata.subtime?string('yyyy-MM-dd HH:mm:ss')}</td>
		        </tr>
		        <#if formdata.formDataAtisfaction??>
		        	<tr>
		        		<td>满意度：</td>
			        	<td>${formdata.formDataAtisfaction.name}</td>
		        	</tr>
		        	<tr>
		        		<td>评价备注：</td>
			        	<td>${formdata.evaluate!?html}</td>
		        	</tr>
		        </#if>
			</table>
		</div>
	</div>
	<form action="replay" method="post">
		<#if !formdata.formDataAtisfaction??>
		<div class="checkopinion">
				<div class="content">
					回复结果：
				    <input type="text" name="result" id="result" value="${formdata.result!}" style="width:300px;" />
				    <span style="color:red">*</span>
			    </div>
			</div>
		</#if>
		<div class="rightfoot">
			<div class="rightfootcontent">
	    		<input type="button" value="返回" class="return" onclick="history.back()" />&nbsp;
				<#if !formdata.formDataAtisfaction??>
					<input type="submit" value="回复" class="checkpass" />&nbsp;
				</#if>
	    		<input type="button" value="删除" class="checkturndown" onclick="deletedata(${formdata.id})" />
	        </div>
	    </div>
	    <input type="hidden" name="formdataid" value="${formdata.id}" />
		<input type="hidden" name="callbackparams" value="${callbackparams!}">
    </form>
</body>
</html>